EinhugurPDFWriter.Font Class (console safe)
A PDF Font object that represents a font in a PDF document.
Object
Font
class EinhugurPDFWriter.Font
Constructors
Font (console safe) | A Private constructor. Use the functions on the PDFDocument class to create instance of the Font class. |
Properties
Ascent (console safe) | Gets the vertical ascent of the font. |
BoundingBoxBottom (console safe) | Gets the bottom coord for the Font bounding box. |
BoundingBoxLeft (console safe) | Gets the left coord for the Font bounding box. |
BoundingBoxRight (console safe) | Gets the right coord for the Font bounding box. |
BoundingBoxTop (console safe) | Gets the top coord for the Font bounding box. |
Descent (console safe) | Gets the vertical descent of the font. |
Name (console safe) | Returns the name of the font. |
Enumerations
FontEncodingEnum | Enum that represents font encodings. PDF font encodings are tricky. If you want to support broad range of languages in your application then we recommend using Automatic here in most cases and setting up fallbacks handler like we show in one of the example projects. |
Notes:
You cannot create instance of this class directly with the new operator, the Constructor has been made private to prevent that. Instead you use functions on the
PDFDocument class to create instance of a Font.
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bitiOS